{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\research\works\주제56_주관적_경제개선_탈북민\data\code_analysis_2.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 9 Jul 2025, 15:55:37

{com}. reg Job_threat_from_defectors c.Perceived_living_improvement##i.Contact_with_defectors income education sex age marriage ideology i.religion i.year i.region, cl(region)

{txt}Linear regression                               Number of obs     = {res}    12,667
                                                {txt}{help j_robustsingular:F(14, 15) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0308
                                                {txt}Root MSE          =    {res} .69674

{txt}{ralign 94:(Std. Err. adjusted for {res:16} clusters in region)}
{hline 29}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 30}{c |}{col 42}    Robust
{col 1}   Job_threat_from_defectors{col 30}{c |}      Coef.{col 42}   Std. Err.{col 54}      t{col 62}   P>|t|{col 70}     [95% Con{col 83}f. Interval]
{hline 29}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Perceived_living_improvement {c |}{col 30}{res}{space 2}-.0805504{col 42}{space 2} .0170716{col 53}{space 1}   -4.72{col 62}{space 3}0.000{col 70}{space 4}-.1169376{col 83}{space 3}-.0441631
{txt}{space 4}1.Contact_with_defectors {c |}{col 30}{res}{space 2} -.060315{col 42}{space 2} .0646792{col 53}{space 1}   -0.93{col 62}{space 3}0.366{col 70}{space 4}-.1981755{col 83}{space 3} .0775455
{txt}{space 28} {c |}
{space 6}Contact_with_defectors#{c |}
{space 26}c. {c |}
Perceived_living_improvement {c |}
{space 26}1  {c |}{col 30}{res}{space 2} .0663951{col 42}{space 2} .0235805{col 53}{space 1}    2.82{col 62}{space 3}0.013{col 70}{space 4} .0161344{col 83}{space 3} .1166558
{txt}{space 28} {c |}
{space 22}income {c |}{col 30}{res}{space 2} .0045788{col 42}{space 2} .0048814{col 53}{space 1}    0.94{col 62}{space 3}0.363{col 70}{space 4}-.0058256{col 83}{space 3} .0149833
{txt}{space 19}education {c |}{col 30}{res}{space 2} .0488529{col 42}{space 2} .0099506{col 53}{space 1}    4.91{col 62}{space 3}0.000{col 70}{space 4} .0276437{col 83}{space 3} .0700622
{txt}{space 25}sex {c |}{col 30}{res}{space 2}-.0347691{col 42}{space 2}  .012595{col 53}{space 1}   -2.76{col 62}{space 3}0.015{col 70}{space 4}-.0616146{col 83}{space 3}-.0079236
{txt}{space 25}age {c |}{col 30}{res}{space 2} .0001872{col 42}{space 2} .0005531{col 53}{space 1}    0.34{col 62}{space 3}0.740{col 70}{space 4}-.0009917{col 83}{space 3} .0013662
{txt}{space 20}marriage {c |}{col 30}{res}{space 2}-.0113063{col 42}{space 2} .0178099{col 53}{space 1}   -0.63{col 62}{space 3}0.535{col 70}{space 4}-.0492672{col 83}{space 3} .0266545
{txt}{space 20}ideology {c |}{col 30}{res}{space 2} .0050923{col 42}{space 2} .0102131{col 53}{space 1}    0.50{col 62}{space 3}0.625{col 70}{space 4}-.0166763{col 83}{space 3} .0268609
{txt}{space 28} {c |}
{space 20}religion {c |}
{space 26}1  {c |}{col 30}{res}{space 2}  .010637{col 42}{space 2} .0132935{col 53}{space 1}    0.80{col 62}{space 3}0.436{col 70}{space 4}-.0176975{col 83}{space 3} .0389715
{txt}{space 26}2  {c |}{col 30}{res}{space 2} .0298655{col 42}{space 2} .0237832{col 53}{space 1}    1.26{col 62}{space 3}0.228{col 70}{space 4}-.0208272{col 83}{space 3} .0805583
{txt}{space 26}3  {c |}{col 30}{res}{space 2} .0018156{col 42}{space 2} .0261596{col 53}{space 1}    0.07{col 62}{space 3}0.946{col 70}{space 4}-.0539421{col 83}{space 3} .0575734
{txt}{space 26}4  {c |}{col 30}{res}{space 2} .0314705{col 42}{space 2} .1515622{col 53}{space 1}    0.21{col 62}{space 3}0.838{col 70}{space 4}-.2915767{col 83}{space 3} .3545177
{txt}{space 28} {c |}
{space 24}year {c |}
{space 23}2014  {c |}{col 30}{res}{space 2} .0212782{col 42}{space 2} .0289967{col 53}{space 1}    0.73{col 62}{space 3}0.474{col 70}{space 4}-.0405267{col 83}{space 3} .0830831
{txt}{space 23}2015  {c |}{col 30}{res}{space 2}-.0462402{col 42}{space 2} .0722787{col 53}{space 1}   -0.64{col 62}{space 3}0.532{col 70}{space 4}-.2002986{col 83}{space 3} .1078182
{txt}{space 23}2016  {c |}{col 30}{res}{space 2}-.1220481{col 42}{space 2} .0474692{col 53}{space 1}   -2.57{col 62}{space 3}0.021{col 70}{space 4}-.2232263{col 83}{space 3}  -.02087
{txt}{space 23}2017  {c |}{col 30}{res}{space 2}-.0210217{col 42}{space 2} .0547474{col 53}{space 1}   -0.38{col 62}{space 3}0.706{col 70}{space 4}-.1377131{col 83}{space 3} .0956697
{txt}{space 23}2018  {c |}{col 30}{res}{space 2}-.0958036{col 42}{space 2}  .044251{col 53}{space 1}   -2.17{col 62}{space 3}0.047{col 70}{space 4}-.1901225{col 83}{space 3}-.0014847
{txt}{space 23}2019  {c |}{col 30}{res}{space 2}  .016978{col 42}{space 2} .0523684{col 53}{space 1}    0.32{col 62}{space 3}0.750{col 70}{space 4}-.0946427{col 83}{space 3} .1285987
{txt}{space 23}2020  {c |}{col 30}{res}{space 2} .0184769{col 42}{space 2} .0700959{col 53}{space 1}    0.26{col 62}{space 3}0.796{col 70}{space 4} -.130929{col 83}{space 3} .1678828
{txt}{space 23}2021  {c |}{col 30}{res}{space 2} .0154789{col 42}{space 2} .0538401{col 53}{space 1}    0.29{col 62}{space 3}0.778{col 70}{space 4}-.0992786{col 83}{space 3} .1302365
{txt}{space 23}2022  {c |}{col 30}{res}{space 2}-.0083785{col 42}{space 2} .0514936{col 53}{space 1}   -0.16{col 62}{space 3}0.873{col 70}{space 4}-.1181346{col 83}{space 3} .1013775
{txt}{space 23}2023  {c |}{col 30}{res}{space 2} .0131985{col 42}{space 2} .0469854{col 53}{space 1}    0.28{col 62}{space 3}0.783{col 70}{space 4}-.0869485{col 83}{space 3} .1133455
{txt}{space 28} {c |}
{space 22}region {c |}
{space 26}2  {c |}{col 30}{res}{space 2}-.0236086{col 42}{space 2} .0059824{col 53}{space 1}   -3.95{col 62}{space 3}0.001{col 70}{space 4}-.0363598{col 83}{space 3}-.0108575
{txt}{space 26}3  {c |}{col 30}{res}{space 2}-.1060182{col 42}{space 2} .0067887{col 53}{space 1}  -15.62{col 62}{space 3}0.000{col 70}{space 4}-.1204879{col 83}{space 3}-.0915486
{txt}{space 26}4  {c |}{col 30}{res}{space 2}-.0391462{col 42}{space 2} .0049361{col 53}{space 1}   -7.93{col 62}{space 3}0.000{col 70}{space 4}-.0496672{col 83}{space 3}-.0286252
{txt}{space 26}5  {c |}{col 30}{res}{space 2}-.1203694{col 42}{space 2} .0028511{col 53}{space 1}  -42.22{col 62}{space 3}0.000{col 70}{space 4}-.1264463{col 83}{space 3}-.1142925
{txt}{space 26}6  {c |}{col 30}{res}{space 2} .0574557{col 42}{space 2}   .00342{col 53}{space 1}   16.80{col 62}{space 3}0.000{col 70}{space 4} .0501661{col 83}{space 3} .0647454
{txt}{space 26}7  {c |}{col 30}{res}{space 2}-.0597718{col 42}{space 2} .0053267{col 53}{space 1}  -11.22{col 62}{space 3}0.000{col 70}{space 4}-.0711254{col 83}{space 3}-.0484182
{txt}{space 26}8  {c |}{col 30}{res}{space 2}-.1214805{col 42}{space 2} .0023637{col 53}{space 1}  -51.39{col 62}{space 3}0.000{col 70}{space 4}-.1265187{col 83}{space 3}-.1164423
{txt}{space 26}9  {c |}{col 30}{res}{space 2} .0141253{col 42}{space 2} .0091342{col 53}{space 1}    1.55{col 62}{space 3}0.143{col 70}{space 4}-.0053439{col 83}{space 3} .0335945
{txt}{space 25}10  {c |}{col 30}{res}{space 2}-.0270909{col 42}{space 2} .0047223{col 53}{space 1}   -5.74{col 62}{space 3}0.000{col 70}{space 4}-.0371561{col 83}{space 3}-.0170256
{txt}{space 25}11  {c |}{col 30}{res}{space 2}-.1267617{col 42}{space 2} .0036928{col 53}{space 1}  -34.33{col 62}{space 3}0.000{col 70}{space 4}-.1346326{col 83}{space 3}-.1188907
{txt}{space 25}12  {c |}{col 30}{res}{space 2} .0545374{col 42}{space 2} .0071785{col 53}{space 1}    7.60{col 62}{space 3}0.000{col 70}{space 4} .0392368{col 83}{space 3}  .069838
{txt}{space 25}13  {c |}{col 30}{res}{space 2} .0279265{col 42}{space 2} .0061238{col 53}{space 1}    4.56{col 62}{space 3}0.000{col 70}{space 4} .0148738{col 83}{space 3} .0409791
{txt}{space 25}14  {c |}{col 30}{res}{space 2}-.1311994{col 42}{space 2} .0085078{col 53}{space 1}  -15.42{col 62}{space 3}0.000{col 70}{space 4}-.1493333{col 83}{space 3}-.1130654
{txt}{space 25}15  {c |}{col 30}{res}{space 2}-.0947071{col 42}{space 2} .0075169{col 53}{space 1}  -12.60{col 62}{space 3}0.000{col 70}{space 4}-.1107289{col 83}{space 3}-.0786853
{txt}{space 25}16  {c |}{col 30}{res}{space 2} .0494647{col 42}{space 2} .0085683{col 53}{space 1}    5.77{col 62}{space 3}0.000{col 70}{space 4} .0312017{col 83}{space 3} .0677277
{txt}{space 28} {c |}
{space 23}_cons {c |}{col 30}{res}{space 2} 2.831502{col 42}{space 2} .1065849{col 53}{space 1}   26.57{col 62}{space 3}0.000{col 70}{space 4} 2.604322{col 83}{space 3} 3.058683
{txt}{hline 29}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{com}. 
. 
. 
. margins Contact_with_defectors , at( Perceived_living_improvement =(1(1)5)) atmeans noatlegend
{res}
{txt}Adjusted predictions{col 49}Number of obs{col 67}= {res}    12,667
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}

{res}{txt}{hline 27}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 28}{c |}{col 40} Delta-method
{col 28}{c |}     Margin{col 40}   Std. Err.{col 52}      t{col 60}   P>|t|{col 68}     [95% Con{col 81}f. Interval]
{hline 27}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
_at#Contact_with_defectors {c |}
{space 22}1 0  {c |}{col 28}{res}{space 2} 2.884449{col 40}{space 2} .0212475{col 51}{space 1}  135.75{col 60}{space 3}0.000{col 68}{space 4} 2.839161{col 81}{space 3} 2.929737
{txt}{space 22}1 1  {c |}{col 28}{res}{space 2} 2.890529{col 40}{space 2} .0394851{col 51}{space 1}   73.21{col 60}{space 3}0.000{col 68}{space 4} 2.806369{col 81}{space 3}  2.97469
{txt}{space 22}2 0  {c |}{col 28}{res}{space 2} 2.803899{col 40}{space 2}  .005323{col 51}{space 1}  526.75{col 60}{space 3}0.000{col 68}{space 4} 2.792553{col 81}{space 3} 2.815245
{txt}{space 22}2 1  {c |}{col 28}{res}{space 2} 2.876374{col 40}{space 2} .0211323{col 51}{space 1}  136.11{col 60}{space 3}0.000{col 68}{space 4} 2.831332{col 81}{space 3} 2.921416
{txt}{space 22}3 0  {c |}{col 28}{res}{space 2} 2.723348{col 40}{space 2} .0137147{col 51}{space 1}  198.57{col 60}{space 3}0.000{col 68}{space 4} 2.694116{col 81}{space 3} 2.752581
{txt}{space 22}3 1  {c |}{col 28}{res}{space 2} 2.862219{col 40}{space 2} .0259192{col 51}{space 1}  110.43{col 60}{space 3}0.000{col 68}{space 4} 2.806973{col 81}{space 3} 2.917464
{txt}{space 22}4 0  {c |}{col 28}{res}{space 2} 2.642798{col 40}{space 2} .0305079{col 51}{space 1}   86.63{col 60}{space 3}0.000{col 68}{space 4} 2.577772{col 81}{space 3} 2.707824
{txt}{space 22}4 1  {c |}{col 28}{res}{space 2} 2.848063{col 40}{space 2} .0472733{col 51}{space 1}   60.25{col 60}{space 3}0.000{col 68}{space 4} 2.747303{col 81}{space 3} 2.948824
{txt}{space 22}5 0  {c |}{col 28}{res}{space 2} 2.562248{col 40}{space 2}    .0475{col 51}{space 1}   53.94{col 60}{space 3}0.000{col 68}{space 4} 2.461004{col 81}{space 3} 2.663491
{txt}{space 22}5 1  {c |}{col 28}{res}{space 2} 2.833908{col 40}{space 2} .0716622{col 51}{space 1}   39.55{col 60}{space 3}0.000{col 68}{space 4} 2.681164{col 81}{space 3} 2.986652
{txt}{hline 27}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{com}. 
. marginsplot, recastci(rarea)

{text}{p 2 6 2}Variables that uniquely identify margins: Perceived_living_improvement Contact_with_defectors{p_end}
{res}
{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\research\works\주제56_주관적_경제개선_탈북민\data\code_analysis_2.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 9 Jul 2025, 15:56:08
{txt}{.-}
{smcl}
{txt}{sf}{ul off}